home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC / include / afxres.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  32.9 KB  |  805 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. #ifndef __AFXRES_H__
  12. #define __AFXRES_H__
  13. #if !defined(_WIN32_WCE)
  14. // WinCE: for IDE resource editor doesn't use /D settings,
  15. // so we need to turn on _WIN32_WCE
  16. #define _WIN32_WCE 200                
  17. #endif // _WIN32_WCE
  18. #if defined(_WIN32_WCE)
  19.     #include "wce.h"
  20.     #if !defined(WCEOLE_ENABLE_DIALOGEX)
  21.         #define DIALOGEX DIALOG DISCARDABLE
  22.     #endif
  23. #endif // _WIN32_WCE
  24. #ifdef RC_INVOKED
  25. #ifndef _INC_WINDOWS
  26. #define _INC_WINDOWS
  27.     #include "winres.h"           // extract from windows header
  28. #endif
  29. #endif
  30.  
  31. #ifdef _AFX_MINREBUILD
  32. #pragma component(minrebuild, off)
  33. #endif
  34.  
  35. #ifdef APSTUDIO_INVOKED
  36. #define APSTUDIO_HIDDEN_SYMBOLS
  37. #endif
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40. // MFC resource types (see Technical note TN024 for implementation details)
  41.  
  42. #ifndef RC_INVOKED
  43. #define RT_DLGINIT  MAKEINTRESOURCE(240)
  44. #define RT_TOOLBAR  MAKEINTRESOURCE(241)
  45. #endif
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.  
  49. #ifdef APSTUDIO_INVOKED
  50. #undef APSTUDIO_HIDDEN_SYMBOLS
  51. #endif
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54. // General style bits etc
  55.  
  56. // ControlBar styles
  57. #define CBRS_ALIGN_LEFT     0x1000L
  58. #define CBRS_ALIGN_TOP      0x2000L
  59. #define CBRS_ALIGN_RIGHT    0x4000L
  60. #define CBRS_ALIGN_BOTTOM   0x8000L
  61. #define CBRS_ALIGN_ANY      0xF000L
  62.  
  63. #define CBRS_BORDER_LEFT    0x0100L
  64. #define CBRS_BORDER_TOP     0x0200L
  65. #define CBRS_BORDER_RIGHT   0x0400L
  66. #define CBRS_BORDER_BOTTOM  0x0800L
  67. #define CBRS_BORDER_ANY     0x0F00L
  68.  
  69. #define CBRS_TOOLTIPS       0x0010L
  70. #define CBRS_FLYBY          0x0020L
  71. #define CBRS_FLOAT_MULTI    0x0040L
  72. #define CBRS_BORDER_3D      0x0080L
  73. #define CBRS_HIDE_INPLACE   0x0008L
  74. #define CBRS_SIZE_DYNAMIC   0x0004L
  75. #define CBRS_SIZE_FIXED     0x0002L
  76. #define CBRS_FLOATING       0x0001L
  77.  
  78. #define CBRS_GRIPPER        0x00400000L
  79.  
  80. #define CBRS_ORIENT_HORZ    (CBRS_ALIGN_TOP|CBRS_ALIGN_BOTTOM)
  81. #define CBRS_ORIENT_VERT    (CBRS_ALIGN_LEFT|CBRS_ALIGN_RIGHT)
  82. #define CBRS_ORIENT_ANY     (CBRS_ORIENT_HORZ|CBRS_ORIENT_VERT)
  83.  
  84. #define CBRS_ALL            0x0040FFFFL
  85.  
  86. // the CBRS_ style is made up of an alignment style and a draw border style
  87. //  the alignment styles are mutually exclusive
  88. //  the draw border styles may be combined
  89. #define CBRS_NOALIGN        0x00000000L
  90. #define CBRS_LEFT           (CBRS_ALIGN_LEFT|CBRS_BORDER_RIGHT)
  91. #define CBRS_TOP            (CBRS_ALIGN_TOP|CBRS_BORDER_BOTTOM)
  92. #define CBRS_RIGHT          (CBRS_ALIGN_RIGHT|CBRS_BORDER_LEFT)
  93. #define CBRS_BOTTOM         (CBRS_ALIGN_BOTTOM|CBRS_BORDER_TOP)
  94.  
  95. /////////////////////////////////////////////////////////////////////////////
  96. // Standard window components
  97.  
  98. // Mode indicators in status bar - these are routed like commands
  99. #define ID_INDICATOR_EXT                0xE700  // extended selection indicator
  100. #define ID_INDICATOR_CAPS               0xE701  // cap lock indicator
  101. #define ID_INDICATOR_NUM                0xE702  // num lock indicator
  102. #define ID_INDICATOR_SCRL               0xE703  // scroll lock indicator
  103. #define ID_INDICATOR_OVR                0xE704  // overtype mode indicator
  104. #define ID_INDICATOR_REC                0xE705  // record mode indicator
  105. #define ID_INDICATOR_KANA               0xE706  // kana lock indicator
  106.  
  107. #define ID_SEPARATOR                    0   // special separator value
  108.  
  109. #ifndef RC_INVOKED  // code only
  110. // Standard control bars (IDW = window ID)
  111. #define AFX_IDW_CONTROLBAR_FIRST        0xE800
  112. #define AFX_IDW_CONTROLBAR_LAST         0xE8FF
  113.  
  114. #define AFX_IDW_TOOLBAR                 0xE800  // main Toolbar for window
  115. #define AFX_IDW_STATUS_BAR              0xE801  // Status bar window
  116. #define AFX_IDW_PREVIEW_BAR             0xE802  // PrintPreview Dialog Bar
  117. #define AFX_IDW_RESIZE_BAR              0xE803  // OLE in-place resize bar
  118. #define AFX_IDW_REBAR                   0xE804  // COMCTL32 "rebar" Bar
  119. #define AFX_IDW_DIALOGBAR               0xE805  // CDialogBar
  120.  
  121. // Note: If your application supports docking toolbars, you should
  122. //  not use the following IDs for your own toolbars.  The IDs chosen
  123. //  are at the top of the first 32 such that the bars will be hidden
  124. //  while in print preview mode, and are not likely to conflict with
  125. //  IDs your application may have used succesfully in the past.
  126.  
  127. #define AFX_IDW_DOCKBAR_TOP             0xE81B
  128. #define AFX_IDW_DOCKBAR_LEFT            0xE81C
  129. #define AFX_IDW_DOCKBAR_RIGHT           0xE81D
  130. #define AFX_IDW_DOCKBAR_BOTTOM          0xE81E
  131. #define AFX_IDW_DOCKBAR_FLOAT           0xE81F
  132.  
  133. // Macro for mapping standard control bars to bitmask (limit of 32)
  134. #define AFX_CONTROLBAR_MASK(nIDC)   (1L << (nIDC - AFX_IDW_CONTROLBAR_FIRST))
  135.  
  136. // parts of Main Frame
  137. #define AFX_IDW_PANE_FIRST              0xE900  // first pane (256 max)
  138. #define AFX_IDW_PANE_LAST               0xE9ff
  139. #define AFX_IDW_HSCROLL_FIRST           0xEA00  // first Horz scrollbar (16 max)
  140. #define AFX_IDW_VSCROLL_FIRST           0xEA10  // first Vert scrollbar (16 max)
  141.  
  142. #define AFX_IDW_SIZE_BOX                0xEA20  // size box for splitters
  143. #define AFX_IDW_PANE_SAVE               0xEA21  // to shift AFX_IDW_PANE_FIRST
  144. #endif //!RC_INVOKED
  145.  
  146. #ifndef APSTUDIO_INVOKED
  147.  
  148. // common style for form views
  149. #define AFX_WS_DEFAULT_VIEW             (WS_CHILD | WS_VISIBLE | WS_BORDER)
  150.  
  151. #endif //!APSTUDIO_INVOKED
  152.  
  153. /////////////////////////////////////////////////////////////////////////////
  154. // Standard app configurable strings
  155.  
  156. // for application title (defaults to EXE name or name in constructor)
  157. #define AFX_IDS_APP_TITLE               0xE000
  158. // idle message bar line
  159. #define AFX_IDS_IDLEMESSAGE             0xE001
  160. // message bar line when in shift-F1 help mode
  161. #define AFX_IDS_HELPMODEMESSAGE         0xE002
  162. // document title when editing OLE embedding
  163. #define AFX_IDS_APP_TITLE_EMBEDDING     0xE003
  164. // company name
  165. #define AFX_IDS_COMPANY_NAME            0xE004
  166. // object name when server is inplace
  167. #define AFX_IDS_OBJ_TITLE_INPLACE       0xE005
  168.  
  169. /////////////////////////////////////////////////////////////////////////////
  170. // Standard Commands
  171.  
  172. // File commands
  173. #define ID_FILE_NEW                     0xE100
  174. #define ID_FILE_OPEN                    0xE101
  175. #define ID_FILE_CLOSE                   0xE102
  176. #define ID_FILE_SAVE                    0xE103
  177. #define ID_FILE_SAVE_AS                 0xE104
  178. #define ID_FILE_PAGE_SETUP              0xE105
  179. #define ID_FILE_PRINT_SETUP             0xE106
  180. #define ID_FILE_PRINT                   0xE107
  181. #define ID_FILE_PRINT_DIRECT            0xE108
  182. #define ID_FILE_PRINT_PREVIEW           0xE109
  183. #define ID_FILE_UPDATE                  0xE10A
  184. #define ID_FILE_SAVE_COPY_AS            0xE10B
  185. #define ID_FILE_SEND_MAIL               0xE10C
  186.  
  187. #define ID_FILE_MRU_FIRST               0xE110
  188. #define ID_FILE_MRU_FILE1               0xE110          // range - 16 max
  189. #define ID_FILE_MRU_FILE2               0xE111
  190. #define ID_FILE_MRU_FILE3               0xE112
  191. #define ID_FILE_MRU_FILE4               0xE113
  192. #define ID_FILE_MRU_FILE5               0xE114
  193. #define ID_FILE_MRU_FILE6               0xE115
  194. #define ID_FILE_MRU_FILE7               0xE116
  195. #define ID_FILE_MRU_FILE8               0xE117
  196. #define ID_FILE_MRU_FILE9               0xE118
  197. #define ID_FILE_MRU_FILE10              0xE119
  198. #define ID_FILE_MRU_FILE11              0xE11A
  199. #define ID_FILE_MRU_FILE12              0xE11B
  200. #define ID_FILE_MRU_FILE13              0xE11C
  201. #define ID_FILE_MRU_FILE14              0xE11D
  202. #define ID_FILE_MRU_FILE15              0xE11E
  203. #define ID_FILE_MRU_FILE16              0xE11F
  204. #define ID_FILE_MRU_LAST                0xE11F
  205.  
  206. // Edit commands
  207. #define ID_EDIT_CLEAR                   0xE120
  208. #define ID_EDIT_CLEAR_ALL               0xE121
  209. #define ID_EDIT_COPY                    0xE122
  210. #define ID_EDIT_CUT                     0xE123
  211. #define ID_EDIT_FIND                    0xE124
  212. #define ID_EDIT_PASTE                   0xE125
  213. #define ID_EDIT_PASTE_LINK              0xE126
  214. #define ID_EDIT_PASTE_SPECIAL           0xE127
  215. #define ID_EDIT_REPEAT                  0xE128
  216. #define ID_EDIT_REPLACE                 0xE129
  217. #define ID_EDIT_SELECT_ALL              0xE12A
  218. #define ID_EDIT_UNDO                    0xE12B
  219. #define ID_EDIT_REDO                    0xE12C
  220.  
  221. // Window commands
  222. #define ID_WINDOW_NEW                   0xE130
  223. #define ID_WINDOW_ARRANGE               0xE131
  224. #define ID_WINDOW_CASCADE               0xE132
  225. #define ID_WINDOW_TILE_HORZ             0xE133
  226. #define ID_WINDOW_TILE_VERT             0xE134
  227. #define ID_WINDOW_SPLIT                 0xE135
  228. #ifndef RC_INVOKED      // code only
  229. #define AFX_IDM_WINDOW_FIRST            0xE130
  230. #define AFX_IDM_WINDOW_LAST             0xE13F
  231. #define AFX_IDM_FIRST_MDICHILD          0xFF00  // window list starts here
  232. #endif //!RC_INVOKED
  233.  
  234. // Help and App commands
  235. #define ID_APP_ABOUT                    0xE140
  236. #define ID_APP_EXIT                     0xE141
  237. #define ID_HELP_INDEX                   0xE142
  238. #define ID_HELP_FINDER                  0xE143
  239. #define ID_HELP_USING                   0xE144
  240. #define ID_CONTEXT_HELP                 0xE145      // shift-F1
  241. // special commands for processing help
  242. #define ID_HELP                         0xE146      // first attempt for F1
  243. #define ID_DEFAULT_HELP                 0xE147      // last attempt
  244.  
  245. // Misc
  246. #define ID_NEXT_PANE                    0xE150
  247. #define ID_PREV_PANE                    0xE151
  248.  
  249. // Format
  250. #define ID_FORMAT_FONT                  0xE160
  251.  
  252. // OLE commands
  253. #define ID_OLE_INSERT_NEW               0xE200
  254. #define ID_OLE_EDIT_LINKS               0xE201
  255. #define ID_OLE_EDIT_CONVERT             0xE202
  256. #define ID_OLE_EDIT_CHANGE_ICON         0xE203
  257. #define ID_OLE_EDIT_PROPERTIES          0xE204
  258. #define ID_OLE_VERB_FIRST               0xE210     // range - 16 max
  259. #ifndef RC_INVOKED      // code only
  260. #define ID_OLE_VERB_LAST                0xE21F
  261. #endif //!RC_INVOKED
  262.  
  263. // for print preview dialog bar
  264. #define AFX_ID_PREVIEW_CLOSE            0xE300
  265. #define AFX_ID_PREVIEW_NUMPAGE          0xE301      // One/Two Page button
  266. #define AFX_ID_PREVIEW_NEXT             0xE302
  267. #define AFX_ID_PREVIEW_PREV             0xE303
  268. #define AFX_ID_PREVIEW_PRINT            0xE304
  269. #define AFX_ID_PREVIEW_ZOOMIN           0xE305
  270. #define AFX_ID_PREVIEW_ZOOMOUT          0xE306
  271.  
  272. // View commands (same number used as IDW used for control bar)
  273. #define ID_VIEW_TOOLBAR                 0xE800
  274. #define ID_VIEW_STATUS_BAR              0xE801
  275. #define ID_VIEW_REBAR                   0xE804
  276. #define ID_VIEW_AUTOARRANGE         0xE805
  277.     // E810 -> E81F must be kept in order for RANGE macros
  278. #define ID_VIEW_SMALLICON               0xE810
  279. #define ID_VIEW_LARGEICON               0xE811
  280. #define ID_VIEW_LIST                   0xE812
  281. #define ID_VIEW_DETAILS                 0xE813
  282. #define ID_VIEW_LINEUP                  0xE814
  283. #define ID_VIEW_BYNAME                  0xE815
  284. #define AFX_ID_VIEW_MINIMUM              ID_VIEW_SMALLICON
  285. #define AFX_ID_VIEW_MAXIMUM              ID_VIEW_BYNAME
  286.     // E800 -> E8FF reserved for other control bar commands
  287.  
  288. // RecordForm commands
  289. #define ID_RECORD_FIRST                 0xE900
  290. #define ID_RECORD_LAST                  0xE901
  291. #define ID_RECORD_NEXT                  0xE902
  292. #define ID_RECORD_PREV                  0xE903
  293.  
  294. #if defined(_WIN32_WCE)
  295. // Commandbars
  296. #define IDC_COMMANDBAR                  0xE408
  297. #define IDC_CMDBAR_COMBOBOX             0xE409
  298.  
  299. // Find/Replace dialog commands
  300. #define ID_EDIT1                        (0xE500)
  301. #define ID_EDIT2                        (0xE501)
  302. #define ID_CHECK1                       (0xE502)
  303. #define ID_CHECK2                       (0xE503)
  304. #define ID_GROUP1                       (0xE504)
  305. #define ID_RADIO1                       (0xE505)
  306. #define ID_RADIO2                       (0xE506)
  307. #define ID_BUTTON_HELP                  (0xE507)
  308. #define ID_BUTTON1                      (0xE508)
  309. #define ID_BUTTON2                      (0xE509)
  310. #define WCE_IDD_REPLACEDLG              (28700)
  311. #define WCE_IDD_FINDDLG                 (28701)
  312. #define ID_WCE_WIZARD_VERSION           (28702)
  313. #endif // _WIN32_WCE
  314. /////////////////////////////////////////////////////////////////////////////
  315. // Standard control IDs
  316.  
  317. #ifdef IDC_STATIC
  318. #undef IDC_STATIC
  319. #endif
  320. #define IDC_STATIC              (-1)     // all static controls
  321.  
  322. /////////////////////////////////////////////////////////////////////////////
  323. // Standard string error/warnings
  324.  
  325. #ifndef RC_INVOKED      // code only
  326. #define AFX_IDS_SCFIRST                 0xEF00
  327. #endif //!RC_INVOKED
  328.  
  329. #define AFX_IDS_SCSIZE                  0xEF00
  330. #define AFX_IDS_SCMOVE                  0xEF01
  331. #define AFX_IDS_SCMINIMIZE              0xEF02
  332. #define AFX_IDS_SCMAXIMIZE              0xEF03
  333. #define AFX_IDS_SCNEXTWINDOW            0xEF04
  334. #define AFX_IDS_SCPREVWINDOW            0xEF05
  335. #define AFX_IDS_SCCLOSE                 0xEF06
  336. #define AFX_IDS_SCRESTORE               0xEF12
  337. #define AFX_IDS_SCTASKLIST              0xEF13
  338.  
  339. #define AFX_IDS_MDICHILD                0xEF1F
  340.  
  341. #define AFX_IDS_DESKACCESSORY           0xEFDA
  342.  
  343. // General strings
  344. #define AFX_IDS_OPENFILE                0xF000
  345. #define AFX_IDS_SAVEFILE                0xF001
  346. #define AFX_IDS_ALLFILTER               0xF002
  347. #define AFX_IDS_UNTITLED                0xF003
  348. #define AFX_IDS_SAVEFILECOPY            0xF004
  349. #define AFX_IDS_PREVIEW_CLOSE           0xF005
  350. #define AFX_IDS_UNNAMED_FILE            0xF006
  351. #define AFX_IDS_HIDE                    0xF011
  352.  
  353. // MFC Standard Exception Error messages
  354. #define AFX_IDP_NO_ERROR_AVAILABLE      0xF020
  355. #define AFX_IDS_NOT_SUPPORTED_EXCEPTION 0xF021
  356. #define AFX_IDS_RESOURCE_EXCEPTION      0xF022
  357. #define AFX_IDS_MEMORY_EXCEPTION        0xF023
  358. #define AFX_IDS_USER_EXCEPTION          0xF024
  359.  
  360. // Printing and print preview strings
  361. #define AFX_IDS_PRINTONPORT             0xF040
  362. #define AFX_IDS_ONEPAGE                 0xF041
  363. #define AFX_IDS_TWOPAGE                 0xF042
  364. #define AFX_IDS_PRINTPAGENUM            0xF043
  365. #define AFX_IDS_PREVIEWPAGEDESC         0xF044
  366. #define AFX_IDS_PRINTDEFAULTEXT         0xF045
  367. #define AFX_IDS_PRINTDEFAULT            0xF046
  368. #define AFX_IDS_PRINTFILTER             0xF047
  369. #define AFX_IDS_PRINTCAPTION            0xF048
  370. #define AFX_IDS_PRINTTOFILE             0xF049
  371.  
  372.  
  373. // OLE strings
  374. #define AFX_IDS_OBJECT_MENUITEM         0xF080
  375. #define AFX_IDS_EDIT_VERB               0xF081
  376. #define AFX_IDS_ACTIVATE_VERB           0xF082
  377. #define AFX_IDS_CHANGE_LINK             0xF083
  378. #define AFX_IDS_AUTO                    0xF084
  379. #define AFX_IDS_MANUAL                  0xF085
  380. #define AFX_IDS_FROZEN                  0xF086
  381. #define AFX_IDS_ALL_FILES               0xF087
  382. // dynamically changing menu items
  383. #define AFX_IDS_SAVE_MENU               0xF088
  384. #define AFX_IDS_UPDATE_MENU             0xF089
  385. #define AFX_IDS_SAVE_AS_MENU            0xF08A
  386. #define AFX_IDS_SAVE_COPY_AS_MENU       0xF08B
  387. #define AFX_IDS_EXIT_MENU               0xF08C
  388. #define AFX_IDS_UPDATING_ITEMS          0xF08D
  389. // COlePasteSpecialDialog defines
  390. #define AFX_IDS_METAFILE_FORMAT         0xF08E
  391. #define AFX_IDS_DIB_FORMAT              0xF08F
  392. #define AFX_IDS_BITMAP_FORMAT           0xF090
  393. #define AFX_IDS_LINKSOURCE_FORMAT       0xF091
  394. #define AFX_IDS_EMBED_FORMAT            0xF092
  395. // other OLE utility strings
  396. #define AFX_IDS_PASTELINKEDTYPE         0xF094
  397. #define AFX_IDS_UNKNOWNTYPE             0xF095
  398. #define AFX_IDS_RTF_FORMAT              0xF096
  399. #define AFX_IDS_TEXT_FORMAT             0xF097
  400. // OLE datatype format error strings
  401. #define AFX_IDS_INVALID_CURRENCY        0xF098
  402. #define AFX_IDS_INVALID_DATETIME        0xF099
  403. #define AFX_IDS_INVALID_DATETIMESPAN    0xF09A
  404.  
  405. // General error / prompt strings
  406. #define AFX_IDP_INVALID_FILENAME        0xF100
  407. #define AFX_IDP_FAILED_TO_OPEN_DOC      0xF101
  408. #define AFX_IDP_FAILED_TO_SAVE_DOC      0xF102
  409. #define AFX_IDP_ASK_TO_SAVE             0xF103
  410. #define AFX_IDP_FAILED_TO_CREATE_DOC    0xF104
  411. #define AFX_IDP_FILE_TOO_LARGE          0xF105
  412. #define AFX_IDP_FAILED_TO_START_PRINT   0xF106
  413. #define AFX_IDP_FAILED_TO_LAUNCH_HELP   0xF107
  414. #define AFX_IDP_INTERNAL_FAILURE        0xF108      // general failure
  415. #define AFX_IDP_COMMAND_FAILURE         0xF109      // command failure
  416. #define AFX_IDP_FAILED_MEMORY_ALLOC     0xF10A
  417. #define AFX_IDP_UNREG_DONE              0xF10B
  418. #define AFX_IDP_UNREG_FAILURE           0xF10C
  419. #define AFX_IDP_DLL_LOAD_FAILED         0xF10D
  420. #define AFX_IDP_DLL_BAD_VERSION         0xF10E
  421.  
  422. // DDV parse errors
  423. #define AFX_IDP_PARSE_INT               0xF110
  424. #define AFX_IDP_PARSE_REAL              0xF111
  425. #define AFX_IDP_PARSE_INT_RANGE         0xF112
  426. #define AFX_IDP_PARSE_REAL_RANGE        0xF113
  427. #define AFX_IDP_PARSE_STRING_SIZE       0xF114
  428. #define AFX_IDP_PARSE_RADIO_BUTTON      0xF115
  429. #define AFX_IDP_PARSE_BYTE              0xF116
  430. #define AFX_IDP_PARSE_UINT              0xF117
  431. #define AFX_IDP_PARSE_DATETIME          0xF118
  432. #define AFX_IDP_PARSE_CURRENCY          0xF119
  433.  
  434. // CFile/CArchive error strings for user failure
  435. #define AFX_IDP_FAILED_INVALID_FORMAT   0xF120
  436. #define AFX_IDP_FAILED_INVALID_PATH     0xF121
  437. #define AFX_IDP_FAILED_DISK_FULL        0xF122
  438. #define AFX_IDP_FAILED_ACCESS_READ      0xF123
  439. #define AFX_IDP_FAILED_ACCESS_WRITE     0xF124
  440. #define AFX_IDP_FAILED_IO_ERROR_READ    0xF125
  441. #define AFX_IDP_FAILED_IO_ERROR_WRITE   0xF126
  442.  
  443. // OLE errors / prompt strings
  444. #define AFX_IDP_STATIC_OBJECT           0xF180
  445. #define AFX_IDP_FAILED_TO_CONNECT       0xF181
  446. #define AFX_IDP_SERVER_BUSY             0xF182
  447. #define AFX_IDP_BAD_VERB                0xF183
  448. #define AFX_IDS_NOT_DOCOBJECT                 0xF184
  449. #define AFX_IDP_FAILED_TO_NOTIFY        0xF185
  450. #define AFX_IDP_FAILED_TO_LAUNCH        0xF186
  451. #define AFX_IDP_ASK_TO_UPDATE           0xF187
  452. #define AFX_IDP_FAILED_TO_UPDATE        0xF188
  453. #define AFX_IDP_FAILED_TO_REGISTER      0xF189
  454. #define AFX_IDP_FAILED_TO_AUTO_REGISTER 0xF18A
  455. #define AFX_IDP_FAILED_TO_CONVERT       0xF18B
  456. #define AFX_IDP_GET_NOT_SUPPORTED       0xF18C
  457. #define AFX_IDP_SET_NOT_SUPPORTED       0xF18D
  458. #define AFX_IDP_ASK_TO_DISCARD          0xF18E
  459. #define AFX_IDP_FAILED_TO_CREATE        0xF18F
  460.  
  461. // MAPI errors / prompt strings
  462. #define AFX_IDP_FAILED_MAPI_LOAD        0xF190
  463. #define AFX_IDP_INVALID_MAPI_DLL        0xF191
  464. #define AFX_IDP_FAILED_MAPI_SEND        0xF192
  465.  
  466. #define AFX_IDP_FILE_NONE               0xF1A0
  467. #define AFX_IDP_FILE_GENERIC            0xF1A1
  468. #define AFX_IDP_FILE_NOT_FOUND          0xF1A2
  469. #define AFX_IDP_FILE_BAD_PATH           0xF1A3
  470. #define AFX_IDP_FILE_TOO_MANY_OPEN      0xF1A4
  471. #define AFX_IDP_FILE_ACCESS_DENIED      0xF1A5
  472. #define AFX_IDP_FILE_INVALID_FILE       0xF1A6
  473. #define AFX_IDP_FILE_REMOVE_CURRENT     0xF1A7
  474. #define AFX_IDP_FILE_DIR_FULL           0xF1A8
  475. #define AFX_IDP_FILE_BAD_SEEK           0xF1A9
  476. #define AFX_IDP_FILE_HARD_IO            0xF1AA
  477. #define AFX_IDP_FILE_SHARING            0xF1AB
  478. #define AFX_IDP_FILE_LOCKING            0xF1AC
  479. #define AFX_IDP_FILE_DISKFULL           0xF1AD
  480. #define AFX_IDP_FILE_EOF                0xF1AE
  481.  
  482. #define AFX_IDP_ARCH_NONE               0xF1B0
  483. #define AFX_IDP_ARCH_GENERIC            0xF1B1
  484. #define AFX_IDP_ARCH_READONLY           0xF1B2
  485. #define AFX_IDP_ARCH_ENDOFFILE          0xF1B3
  486. #define AFX_IDP_ARCH_WRITEONLY          0xF1B4
  487. #define AFX_IDP_ARCH_BADINDEX           0xF1B5
  488. #define AFX_IDP_ARCH_BADCLASS           0xF1B6
  489. #define AFX_IDP_ARCH_BADSCHEMA          0xF1B7
  490.  
  491. #define AFX_IDS_OCC_SCALEUNITS_PIXELS   0xF1C0
  492.  
  493. // 0xf200-0xf20f reserved
  494.  
  495. // font names and point sizes
  496. #define AFX_IDS_STATUS_FONT             0xF230
  497. #define AFX_IDS_TOOLTIP_FONT            0xF231
  498. #define AFX_IDS_UNICODE_FONT            0xF232
  499. #define AFX_IDS_MINI_FONT               0xF233
  500.  
  501. // ODBC Database errors / prompt strings
  502. #ifndef RC_INVOKED      // code only
  503. #define AFX_IDP_SQL_FIRST                       0xF280
  504. #endif //!RC_INVOKED
  505. #define AFX_IDP_SQL_CONNECT_FAIL                0xF281
  506. #define AFX_IDP_SQL_RECORDSET_FORWARD_ONLY      0xF282
  507. #define AFX_IDP_SQL_EMPTY_COLUMN_LIST           0xF283
  508. #define AFX_IDP_SQL_FIELD_SCHEMA_MISMATCH       0xF284
  509. #define AFX_IDP_SQL_ILLEGAL_MODE                0xF285
  510. #define AFX_IDP_SQL_MULTIPLE_ROWS_AFFECTED      0xF286
  511. #define AFX_IDP_SQL_NO_CURRENT_RECORD           0xF287
  512. #define AFX_IDP_SQL_NO_ROWS_AFFECTED            0xF288
  513. #define AFX_IDP_SQL_RECORDSET_READONLY          0xF289
  514. #define AFX_IDP_SQL_SQL_NO_TOTAL                0xF28A
  515. #define AFX_IDP_SQL_ODBC_LOAD_FAILED            0xF28B
  516. #define AFX_IDP_SQL_DYNASET_NOT_SUPPORTED       0xF28C
  517. #define AFX_IDP_SQL_SNAPSHOT_NOT_SUPPORTED      0xF28D
  518. #define AFX_IDP_SQL_API_CONFORMANCE             0xF28E
  519. #define AFX_IDP_SQL_SQL_CONFORMANCE             0xF28F
  520. #define AFX_IDP_SQL_NO_DATA_FOUND               0xF290
  521. #define AFX_IDP_SQL_ROW_UPDATE_NOT_SUPPORTED    0xF291
  522. #define AFX_IDP_SQL_ODBC_V2_REQUIRED            0xF292
  523. #define AFX_IDP_SQL_NO_POSITIONED_UPDATES       0xF293
  524. #define AFX_IDP_SQL_LOCK_MODE_NOT_SUPPORTED     0xF294
  525. #define AFX_IDP_SQL_DATA_TRUNCATED              0xF295
  526. #define AFX_IDP_SQL_ROW_FETCH                   0xF296
  527. #define AFX_IDP_SQL_INCORRECT_ODBC              0xF297
  528. #define AFX_IDP_SQL_UPDATE_DELETE_FAILED        0xF298
  529. #define AFX_IDP_SQL_DYNAMIC_CURSOR_NOT_SUPPORTED    0xF299
  530. #define AFX_IDP_SQL_FIELD_NOT_FOUND             0xF29A
  531. #define AFX_IDP_SQL_BOOKMARKS_NOT_SUPPORTED     0xF29B
  532. #define AFX_IDP_SQL_BOOKMARKS_NOT_ENABLED       0xF29C
  533.  
  534. // ODBC Database strings
  535. #define AFX_IDS_DELETED                            0xF29D
  536.  
  537. // DAO Database errors / prompt strings
  538. #ifndef RC_INVOKED      // code only
  539. #define AFX_IDP_DAO_FIRST                       0xF2B0
  540. #endif //!RC_INVOKED
  541. #define AFX_IDP_DAO_ENGINE_INITIALIZATION       0xF2B0
  542. #define AFX_IDP_DAO_DFX_BIND                    0xF2B1
  543. #define AFX_IDP_DAO_OBJECT_NOT_OPEN             0xF2B2
  544.  
  545. // ICDAORecordset::GetRows Errors
  546. //  These are not placed in DAO Errors collection
  547. //  and must be handled directly by MFC.
  548. #define AFX_IDP_DAO_ROWTOOSHORT                 0xF2B3
  549. #define AFX_IDP_DAO_BADBINDINFO                 0xF2B4
  550. #define AFX_IDP_DAO_COLUMNUNAVAILABLE           0xF2B5
  551.  
  552. /////////////////////////////////////////////////////////////////////////////
  553. // Strings for ISAPI support
  554.  
  555. #define AFX_IDS_HTTP_TITLE              0xF2D1
  556. #define AFX_IDS_HTTP_NO_TEXT            0xF2D2
  557. #define AFX_IDS_HTTP_BAD_REQUEST        0xF2D3
  558. #define AFX_IDS_HTTP_AUTH_REQUIRED      0xF2D4
  559. #define AFX_IDS_HTTP_FORBIDDEN          0xF2D5
  560. #define AFX_IDS_HTTP_NOT_FOUND          0xF2D6
  561. #define AFX_IDS_HTTP_SERVER_ERROR       0xF2D7
  562. #define AFX_IDS_HTTP_NOT_IMPLEMENTED    0xF2D8
  563.  
  564. /////////////////////////////////////////////////////////////////////////////
  565. // AFX implementation - control IDs (AFX_IDC)
  566.  
  567. // Parts of dialogs
  568. #define AFX_IDC_LISTBOX                 100
  569. #define AFX_IDC_CHANGE                  101
  570.  
  571. // for print dialog
  572. #define AFX_IDC_PRINT_DOCNAME           201
  573. #define AFX_IDC_PRINT_PRINTERNAME       202
  574. #define AFX_IDC_PRINT_PORTNAME          203
  575. #define AFX_IDC_PRINT_PAGENUM           204
  576.  
  577. // Property Sheet control id's (determined with Spy++)
  578. #define ID_APPLY_NOW                    0x3021
  579. #define ID_WIZBACK                      0x3023
  580. #define ID_WIZNEXT                      0x3024
  581. #define ID_WIZFINISH                    0x3025
  582. #define AFX_IDC_TAB_CONTROL             0x3020
  583.  
  584. /////////////////////////////////////////////////////////////////////////////
  585. // IDRs for standard components
  586.  
  587. #ifndef RC_INVOKED  // code only
  588. // These are really COMMDLG dialogs, so there usually isn't a resource
  589. // for them, but these IDs are used as help IDs.
  590. #define AFX_IDD_FILEOPEN                28676
  591. #define AFX_IDD_FILESAVE                28677
  592. #define AFX_IDD_FONT                    28678
  593. #define AFX_IDD_COLOR                   28679
  594. #define AFX_IDD_PRINT                   28680
  595. #define AFX_IDD_PRINTSETUP              28681
  596. #define AFX_IDD_FIND                    28682
  597. #define AFX_IDD_REPLACE                 28683
  598. #endif //!RC_INVOKED
  599.  
  600. // Standard dialogs app should leave alone (0x7801->)
  601. #define AFX_IDD_NEWTYPEDLG              30721
  602. #define AFX_IDD_PRINTDLG                30722
  603. #define AFX_IDD_PREVIEW_TOOLBAR         30723
  604.  
  605. // Dialogs defined for OLE2UI library
  606. #define AFX_IDD_INSERTOBJECT            30724
  607. #define AFX_IDD_CHANGEICON              30725
  608. #define AFX_IDD_CONVERT                 30726
  609. #define AFX_IDD_PASTESPECIAL            30727
  610. #define AFX_IDD_EDITLINKS               30728
  611. #define AFX_IDD_FILEBROWSE              30729
  612. #define AFX_IDD_BUSY                    30730
  613.  
  614. #define AFX_IDD_OBJECTPROPERTIES        30732
  615. #define AFX_IDD_CHANGESOURCE            30733
  616.  
  617. // Standard cursors (0x7901->)
  618.     // AFX_IDC = Cursor resources
  619. #define AFX_IDC_CONTEXTHELP             30977       // context sensitive help
  620. #define AFX_IDC_MAGNIFY                 30978       // print preview zoom
  621. #define AFX_IDC_SMALLARROWS             30979       // splitter
  622. #define AFX_IDC_HSPLITBAR               30980       // splitter
  623. #define AFX_IDC_VSPLITBAR               30981       // splitter
  624. #define AFX_IDC_NODROPCRSR              30982       // No Drop Cursor
  625. #define AFX_IDC_TRACKNWSE               30983       // tracker
  626. #define AFX_IDC_TRACKNESW               30984       // tracker
  627. #define AFX_IDC_TRACKNS                 30985       // tracker
  628. #define AFX_IDC_TRACKWE                 30986       // tracker
  629. #define AFX_IDC_TRACK4WAY               30987       // tracker
  630. #define AFX_IDC_MOVE4WAY                30988       // resize bar (server only)
  631.  
  632. // Mini frame window bitmap ID
  633. #define AFX_IDB_MINIFRAME_MENU          30994
  634.  
  635. // CheckListBox checks bitmap ID
  636. #define AFX_IDB_CHECKLISTBOX_NT         30995
  637. #define AFX_IDB_CHECKLISTBOX_95         30996
  638.  
  639. // AFX standard accelerator resources
  640. #define AFX_IDR_PREVIEW_ACCEL           30997
  641.  
  642. // AFX standard ICON IDs (for MFC V1 apps) (0x7A01->)
  643. #define AFX_IDI_STD_MDIFRAME            31233
  644. #define AFX_IDI_STD_FRAME               31234
  645.  
  646. /////////////////////////////////////////////////////////////////////////////
  647. // AFX OLE control implementation - control IDs (AFX_IDC)
  648.  
  649. // Font property page
  650. #define AFX_IDC_FONTPROP                1000
  651. #define AFX_IDC_FONTNAMES               1001
  652. #define AFX_IDC_FONTSTYLES              1002
  653. #define AFX_IDC_FONTSIZES               1003
  654. #define AFX_IDC_STRIKEOUT               1004
  655. #define AFX_IDC_UNDERLINE               1005
  656. #define AFX_IDC_SAMPLEBOX               1006
  657.  
  658. // Color property page
  659. #define AFX_IDC_COLOR_BLACK             1100
  660. #define AFX_IDC_COLOR_WHITE             1101
  661. #define AFX_IDC_COLOR_RED               1102
  662. #define AFX_IDC_COLOR_GREEN             1103
  663. #define AFX_IDC_COLOR_BLUE              1104
  664. #define AFX_IDC_COLOR_YELLOW            1105
  665. #define AFX_IDC_COLOR_MAGENTA           1106
  666. #define AFX_IDC_COLOR_CYAN              1107
  667. #define AFX_IDC_COLOR_GRAY              1108
  668. #define AFX_IDC_COLOR_LIGHTGRAY         1109
  669. #define AFX_IDC_COLOR_DARKRED           1110
  670. #define AFX_IDC_COLOR_DARKGREEN         1111
  671. #define AFX_IDC_COLOR_DARKBLUE          1112
  672. #define AFX_IDC_COLOR_LIGHTBROWN        1113
  673. #define AFX_IDC_COLOR_DARKMAGENTA       1114
  674. #define AFX_IDC_COLOR_DARKCYAN          1115
  675. #define AFX_IDC_COLORPROP               1116
  676. #define AFX_IDC_SYSTEMCOLORS            1117
  677.  
  678. // Picture porperty page
  679. #define AFX_IDC_PROPNAME                1201
  680. #define AFX_IDC_PICTURE                 1202
  681. #define AFX_IDC_BROWSE                  1203
  682. #define AFX_IDC_CLEAR                   1204
  683.  
  684. /////////////////////////////////////////////////////////////////////////////
  685. // IDRs for OLE control standard components
  686.  
  687. // Standard propery page dialogs app should leave alone (0x7E01->)
  688. #define AFX_IDD_PROPPAGE_COLOR         32257
  689. #define AFX_IDD_PROPPAGE_FONT          32258
  690. #define AFX_IDD_PROPPAGE_PICTURE       32259
  691.  
  692. #define AFX_IDB_TRUETYPE               32384
  693.  
  694. /////////////////////////////////////////////////////////////////////////////
  695. // Standard OLE control strings
  696.  
  697. // OLE Control page strings
  698. #define AFX_IDS_PROPPAGE_UNKNOWN        0xFE01
  699. #define AFX_IDS_COLOR_DESKTOP           0xFE04
  700. #define AFX_IDS_COLOR_APPWORKSPACE      0xFE05
  701. #define AFX_IDS_COLOR_WNDBACKGND        0xFE06
  702. #define AFX_IDS_COLOR_WNDTEXT           0xFE07
  703. #define AFX_IDS_COLOR_MENUBAR           0xFE08
  704. #define AFX_IDS_COLOR_MENUTEXT          0xFE09
  705. #define AFX_IDS_COLOR_ACTIVEBAR         0xFE0A
  706. #define AFX_IDS_COLOR_INACTIVEBAR       0xFE0B
  707. #define AFX_IDS_COLOR_ACTIVETEXT        0xFE0C
  708. #define AFX_IDS_COLOR_INACTIVETEXT      0xFE0D
  709. #define AFX_IDS_COLOR_ACTIVEBORDER      0xFE0E
  710. #define AFX_IDS_COLOR_INACTIVEBORDER    0xFE0F
  711. #define AFX_IDS_COLOR_WNDFRAME          0xFE10
  712. #define AFX_IDS_COLOR_SCROLLBARS        0xFE11
  713. #define AFX_IDS_COLOR_BTNFACE           0xFE12
  714. #define AFX_IDS_COLOR_BTNSHADOW         0xFE13
  715. #define AFX_IDS_COLOR_BTNTEXT           0xFE14
  716. #define AFX_IDS_COLOR_BTNHIGHLIGHT      0xFE15
  717. #define AFX_IDS_COLOR_DISABLEDTEXT      0xFE16
  718. #define AFX_IDS_COLOR_HIGHLIGHT         0xFE17
  719. #define AFX_IDS_COLOR_HIGHLIGHTTEXT     0xFE18
  720. #define AFX_IDS_REGULAR                 0xFE19
  721. #define AFX_IDS_BOLD                    0xFE1A
  722. #define AFX_IDS_ITALIC                  0xFE1B
  723. #define AFX_IDS_BOLDITALIC              0xFE1C
  724. #define AFX_IDS_SAMPLETEXT              0xFE1D
  725. #define AFX_IDS_DISPLAYSTRING_FONT      0xFE1E
  726. #define AFX_IDS_DISPLAYSTRING_COLOR     0xFE1F
  727. #define AFX_IDS_DISPLAYSTRING_PICTURE   0xFE20
  728. #define AFX_IDS_PICTUREFILTER           0xFE21
  729. #define AFX_IDS_PICTYPE_UNKNOWN         0xFE22
  730. #define AFX_IDS_PICTYPE_NONE            0xFE23
  731. #define AFX_IDS_PICTYPE_BITMAP          0xFE24
  732. #define AFX_IDS_PICTYPE_METAFILE        0xFE25
  733. #define AFX_IDS_PICTYPE_ICON            0xFE26
  734. #define AFX_IDS_COLOR_PPG               0xFE28
  735. #define AFX_IDS_COLOR_PPG_CAPTION       0xFE29
  736. #define AFX_IDS_FONT_PPG                0xFE2A
  737. #define AFX_IDS_FONT_PPG_CAPTION        0xFE2B
  738. #define AFX_IDS_PICTURE_PPG             0xFE2C
  739. #define AFX_IDS_PICTURE_PPG_CAPTION     0xFE2D
  740. #define AFX_IDS_PICTUREBROWSETITLE      0xFE30
  741. #define AFX_IDS_BORDERSTYLE_0           0xFE31
  742. #define AFX_IDS_BORDERSTYLE_1           0xFE32
  743.  
  744. // OLE Control verb names
  745. #define AFX_IDS_VERB_EDIT               0xFE40
  746. #define AFX_IDS_VERB_PROPERTIES         0xFE41
  747.  
  748. // OLE Control internal error messages
  749. #define AFX_IDP_PICTURECANTOPEN         0xFE83
  750. #define AFX_IDP_PICTURECANTLOAD         0xFE84
  751. #define AFX_IDP_PICTURETOOLARGE         0xFE85
  752. #define AFX_IDP_PICTUREREADFAILED       0xFE86
  753.  
  754. // Standard OLE Control error strings
  755. #define AFX_IDP_E_ILLEGALFUNCTIONCALL       0xFEA0
  756. #define AFX_IDP_E_OVERFLOW                  0xFEA1
  757. #define AFX_IDP_E_OUTOFMEMORY               0xFEA2
  758. #define AFX_IDP_E_DIVISIONBYZERO            0xFEA3
  759. #define AFX_IDP_E_OUTOFSTRINGSPACE          0xFEA4
  760. #define AFX_IDP_E_OUTOFSTACKSPACE           0xFEA5
  761. #define AFX_IDP_E_BADFILENAMEORNUMBER       0xFEA6
  762. #define AFX_IDP_E_FILENOTFOUND              0xFEA7
  763. #define AFX_IDP_E_BADFILEMODE               0xFEA8
  764. #define AFX_IDP_E_FILEALREADYOPEN           0xFEA9
  765. #define AFX_IDP_E_DEVICEIOERROR             0xFEAA
  766. #define AFX_IDP_E_FILEALREADYEXISTS         0xFEAB
  767. #define AFX_IDP_E_BADRECORDLENGTH           0xFEAC
  768. #define AFX_IDP_E_DISKFULL                  0xFEAD
  769. #define AFX_IDP_E_BADRECORDNUMBER           0xFEAE
  770. #define AFX_IDP_E_BADFILENAME               0xFEAF
  771. #define AFX_IDP_E_TOOMANYFILES              0xFEB0
  772. #define AFX_IDP_E_DEVICEUNAVAILABLE         0xFEB1
  773. #define AFX_IDP_E_PERMISSIONDENIED          0xFEB2
  774. #define AFX_IDP_E_DISKNOTREADY              0xFEB3
  775. #define AFX_IDP_E_PATHFILEACCESSERROR       0xFEB4
  776. #define AFX_IDP_E_PATHNOTFOUND              0xFEB5
  777. #define AFX_IDP_E_INVALIDPATTERNSTRING      0xFEB6
  778. #define AFX_IDP_E_INVALIDUSEOFNULL          0xFEB7
  779. #define AFX_IDP_E_INVALIDFILEFORMAT         0xFEB8
  780. #define AFX_IDP_E_INVALIDPROPERTYVALUE      0xFEB9
  781. #define AFX_IDP_E_INVALIDPROPERTYARRAYINDEX 0xFEBA
  782. #define AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME  0xFEBB
  783. #define AFX_IDP_E_SETNOTSUPPORTED           0xFEBC
  784. #define AFX_IDP_E_NEEDPROPERTYARRAYINDEX    0xFEBD
  785. #define AFX_IDP_E_SETNOTPERMITTED           0xFEBE
  786. #define AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME  0xFEBF
  787. #define AFX_IDP_E_GETNOTSUPPORTED           0xFEC0
  788. #define AFX_IDP_E_PROPERTYNOTFOUND          0xFEC1
  789. #define AFX_IDP_E_INVALIDCLIPBOARDFORMAT    0xFEC2
  790. #define AFX_IDP_E_INVALIDPICTURE            0xFEC3
  791. #define AFX_IDP_E_PRINTERERROR              0xFEC4
  792. #define AFX_IDP_E_CANTSAVEFILETOTEMP        0xFEC5
  793. #define AFX_IDP_E_SEARCHTEXTNOTFOUND        0xFEC6
  794. #define AFX_IDP_E_REPLACEMENTSTOOLONG       0xFEC7
  795.  
  796. /////////////////////////////////////////////////////////////////////////////
  797.  
  798. #ifdef _AFX_MINREBUILD
  799. #pragma component(minrebuild, on)
  800. #endif
  801.  
  802. #endif //__AFXRES_H__
  803.  
  804. /////////////////////////////////////////////////////////////////////////////
  805.